package top.liuzhenyu.springboot3.validate;

/**
 * 通用验证标识接口
 *
 * @author 胡辉煜
 */
public interface CommonValidate {
    String PHONE = "^1[3-9][0-9]{9}$";
    String EMAIL = "^\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$";

    interface Query{
    }

    interface Add{
    }

    interface Edit{
    }

    interface Delete{
    }
}
